package com.atguigu.guli.service.edu.feign.fallback;

import com.atguigu.guli.service.base.result.R;
import com.atguigu.guli.service.edu.feign.OssFileService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author helen
 * @since 2020/6/24
 */
@Service
@Slf4j
public class OssFileServiceFallBack implements OssFileService{

    @Override
    public R test() {
        return R.error();
    }

    @Override
    public R removeFile(String url) {
        //log.warn("removeFile 熔断保护：" + url);
        return R.error();
    }
}
